]> dgit.raspbian.org Git - gnome-shell.git/commit
layout: Don't build input region rects on Wayland
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 25 Feb 2021 13:31:47 +0000 (10:31 -0300)
committerMarge Bot <marge-bot@gnome.org>
Tue, 2 Mar 2021 23:14:07 +0000 (23:14 +0000)
commitbc0974618fdcfd7b949d3d43d95e4efc466438ef
tree997849697cc96450cee271a23f458e5d216453a6
parentba0b9239d30f612ced693b6ba52923f6110140a4
layout: Don't build input region rects on Wayland

This is an X11-specific routine, and building the list of input region rects
on Wayland is a waste, since it incurs in many trampolines only to throw them
in the trash.

Don't build input region rects on Wayland. By modifying the 'wantsInputRegion'
variable, it also skips actors that only update input, which is another small
optimization for Wayland.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1678>
js/ui/layout.js